package test1;

public class Test {
    public static void main(String[] args) {
        Phone phone = new Phone();

        new Thread(()->{
            phone.call();
        },"zhangsan").start();

       new Thread(()->{
            phone.msg();
        },"lisi").start();
    }
}
